package com.xcity.pomelo.push.msg;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

import com.xcity.pomelo.PomeloRoute;
import com.xcity.pomelo.push.AbstractMessagePush;

@PomeloMessage(type = Message.Type.PUSH, route = PomeloRoute.PUSH_MESSAGE)
public class FriendApplyPush extends AbstractMessagePush {
	
	private long form; // from
	private String roleName;
	
	public FriendApplyPush(long playerId, String playerName) {
		super(MSG_FRIEND_APPLY);
		this.form = playerId;
		this.roleName = playerName;
	}

	public long getForm() {
		return form;
	}

	public void setForm(long form) {
		this.form = form;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	
}
